Move definition of xc variable, to save confusing pylint.
authoremellor@ewan <emellor@ewan>
Tue, 20 Sep 2005 16:21:39 +0000 (17:21 +0100)
committeremellor@ewan <emellor@ewan>
Tue, 20 Sep 2005 16:21:39 +0000 (17:21 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendProtocol.py

index b74a26235fe303f0654bee907d6c13ab152425d8..503af1d38bfcc7cc3b92359ab4ab718cba5a3a2e 100644 (file)
@@ -22,7 +22,7 @@ import types
 from encode import *
 import sxp
 
-from xen.xend import XendRoot; xroot = XendRoot.instance()
+from xen.xend import XendRoot
 
 DEBUG = 0
 
@@ -31,6 +31,10 @@ HTTP_CREATED                         = 201
 HTTP_ACCEPTED                        = 202
 HTTP_NO_CONTENT                      = 204
 
+
+xroot = XendRoot.instance()
+
+
 class XendError(RuntimeError):
     """Error class for 'expected errors' when talking to xend.
     """